package com.rayc.test;

import com.rabbitmq.client.Connection;
import com.rayc.config.RabbitmMQClient;
import org.junit.Test;

import java.io.IOException;

public class demo1 {

    @Test
    public void getConnection() throws IOException {
        Connection connection = RabbitmMQClient.getConnection();

        connection.close();
    }
}
